<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>嗨野|Mobile</title>
    <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
    <script src="https://code.jquery.com/ui/1.13.1/jquery-ui.js"></script>
    <style type="text/css">
        body {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100vh;
            margin: 0;
            padding: 0;
            font-family: "微软雅黑";
            background-image: url(imgs/bg.png);
        }

        #container {
            width: 80%;
            margin: 0 auto;
        }

        #logo-container,
        #content-container,
        #button-container {
            margin: 40px auto;
            text-align: center;
            width: 100%;
        }

        img {
            max-width: 100%;
        }

        .ui-dialog {
            width: 300px;
        }

        .ui-dialog-titlebar {
            width: auto;
            text-align: right;
        }

        #qrCodeDialog {
            width: 300px;
        }
    </style>
</head>

<body>
    <div id="container">
        <div id="logo-container">
            <img src="imgs/logo-con.png" alt="logo" width="375" />
        </div>
        <div id="content-container">
            <img src="imgs/tit_1.png" width="375" />
        </div>
        <div id="content-container">
            <img src="imgs/tit_2.png" width="375" />
        </div>
        <div id="button-container" class="showQRCodeBtn" style="margin-top: 60px;">
            <img src="imgs/btn_1.png" width="165" />
        </div>
        <div id="button-container">
            <a href="https://t.me/hiyeevip"><img src="imgs/btn_2.png" width="165" /></a>
        </div>

        <div id="qrCodeDialog">
            <img src="imgs/qr_weixin.jpg" alt="QR Code">
        </div>
    </div>
    <script>
        $(document).ready(function () {
            $('#qrCodeDialog').dialog({
                autoOpen: false,
                closeOnEscape: true,
                draggable: false,
                resizable: false,
                modal: true,
                position: {
                    at: "center"
                }
            });

            $('.showQRCodeBtn').click(function () {
                $('#qrCodeDialog').dialog('open');
            });
        });
    </script>
</body>

</html>